package com.kgc.sportscircle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：实体类
* @author 杨海文
* @date 2019/07/22
*/
public class Malluseraddress implements Serializable {

   /**主键id*/
    private Integer id;
   /**用户主键*/
    private Integer userId;
   /**地区*/
    private String area;
   /**详细地址地址*/
    private String address;
   /**手机号*/
    private String phone;
   /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
   /**是否是默认地址（1:是 0否）*/
    private Integer isDefault;
   /**备注*/
    private String remark;
   /**未定义1*/
    private Integer extension1;
   /**未定义2*/
    private String extension2;
   /**未定义3*/
    private String extension3;

    public Malluseraddress(){}
    
    public Malluseraddress(Integer id,Integer userId,String area,String address,String phone,Date createTime,Integer isDefault,String remark,Integer extension1,String extension2,String extension3){
        this.id = id;
        this.userId = userId;
        this.area = area;
        this.address = address;
        this.phone = phone;
        this.createTime = createTime;
        this.isDefault = isDefault;
        this.remark = remark;
        this.extension1 = extension1;
        this.extension2 = extension2;
        this.extension3 = extension3;
    }

   /**获取主键id属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键id属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取用户主键属性的值*/
    public Integer getUserId() {
        return this.userId;
    }
   /**设置用户主键属性的值*/
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
   /**获取地区属性的值*/
    public String getArea() {
        return this.area;
    }
   /**设置地区属性的值*/
    public void setArea(String area) {
        this.area = area;
    }
   /**获取详细地址地址属性的值*/
    public String getAddress() {
        return this.address;
    }
   /**设置详细地址地址属性的值*/
    public void setAddress(String address) {
        this.address = address;
    }
   /**获取手机号属性的值*/
    public String getPhone() {
        return this.phone;
    }
   /**设置手机号属性的值*/
    public void setPhone(String phone) {
        this.phone = phone;
    }
   /**获取创建时间属性的值*/
    public Date getCreateTime() {
        return this.createTime;
    }
   /**设置创建时间属性的值*/
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
   /**获取是否是默认地址（1:是 0否）属性的值*/
    public Integer getIsDefault() {
        return this.isDefault;
    }
   /**设置是否是默认地址（1:是 0否）属性的值*/
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
   /**获取备注属性的值*/
    public String getRemark() {
        return this.remark;
    }
   /**设置备注属性的值*/
    public void setRemark(String remark) {
        this.remark = remark;
    }
   /**获取未定义1属性的值*/
    public Integer getExtension1() {
        return this.extension1;
    }
   /**设置未定义1属性的值*/
    public void setExtension1(Integer extension1) {
        this.extension1 = extension1;
    }
   /**获取未定义2属性的值*/
    public String getExtension2() {
        return this.extension2;
    }
   /**设置未定义2属性的值*/
    public void setExtension2(String extension2) {
        this.extension2 = extension2;
    }
   /**获取未定义3属性的值*/
    public String getExtension3() {
        return this.extension3;
    }
   /**设置未定义3属性的值*/
    public void setExtension3(String extension3) {
        this.extension3 = extension3;
    }
}
